package com.chx.ajxtest.service.impl;

import com.chx.ajxtest.bean.User;
import com.chx.ajxtest.mapper.UserMapper;
import com.chx.ajxtest.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class UserServiceImpl implements UserService {
    @Autowired
    private UserMapper userMapper;

    @Override
    public User pass(User user)throws Exception{
        User u = userMapper.pass(user);
        return u;
    }

}
